--- a/openconnect-internal.h
+++ b/openconnect-internal.h
@@ -84,7 +84,7 @@
 #endif
 #define N_(s) s
 
-#include <libxml/tree.h>
+#include <libxml/parser.h>
 #include <zlib.h>
 
 #ifdef _WIN32
